@import "compass";
@import "mixins.scss";

.groupSendContainer {
  height: 100%;
  .newGroupSend {
    @include flex-grow(1);
  }
  .sendFilter {
    width: 260px;
    @include flex-shrink(0);
  }
  .sendFilter,.sendTo {
    border-top: 1px solid #ccc;
    border-left: 1px solid #ccc;
    background: #FBFBFB;
  }
  .sendFilter {
    overflow: auto;
  }
  .sendTo {
    @include flex-grow(1);
  }
  .infoTitle {
    font-size: 18px;
    margin: 24px 0 24px 24px;
    font-weight: 200;
  }
  .searchWrap,.groupMemberFilter,.groupManagerFilter,.groupChatsTitle,.groupChats{
    @include padding2(0, 24px);
    @include flex-shrink(0);
  }
  .groupMemberFilter {
    margin-top: 12px;
    .layui-form-label {
      padding: 9px 0;
      text-align: left;
    }
    .layui-form-mid {
      margin-left: 10px;
    }
  }
  .groupManagerFilter {
    height: 38px;
    @include align-items(center);
    .radioWrap {
      margin-left: 24px;
      input {
        margin-right: 6px;
        &:last-child {
          margin-left: 12px;
        }
      }
    }
  }
  .groupChatsTitle {
    height: 24px;
    @include align-items(center);
    .selectAll {
      margin-right: 8px;
    }
  }
  .groupChats {
    .listItem {
      padding-left: 0 !important;
      @include flex-shrink(0);
      input {
        margin-right: 8px !important;
      }
    }
    .listItem:hover {
      background: none !important;
    }
  }
  .checkedList {
    margin: 0 24px;
    border: 1px solid #ccc;
    overflow: auto;
    @include padding2(12px, 0px);
    .belongToService {
      width: 220px;
    }
  }
  .sendBtns {
    text-align: center;
    margin: 24px 0;
    button {
      margin: 0 12px;
    }
  }
  .attachInfo {
    @include align-items(center);
    .serviceBelong {
      margin-right: 12px;
    }
  }
  .vdp-datepicker {
    display: inline-block;
    .vdp-datepicker__calendar {
      bottom: 40px;
    }
  }
  .groupSendSettingDialog {
    .settingItem {
      margin-top: 14px;
      input {
        display: inline-block;
        width: 60px;
        margin: 0 12px;
      }
    }
    .stopTime {
      input {
        width: 45px;
        margin: 0 6px;
      }
    }
    .sleepTime {
      input {
        width: 84px;
      }
    }
    .layui-form-mid {
      float: none;
      display: inline-block;
      margin-right: 0;
    }
  }
  .filterCondation {
    height: 120px;
    background: #f5f5f5;
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    @include padding2(24px, 24px);
    .filterTitle {
      font-size: 16px;
    }
  }
  .condations {
    height: 76px;
    @include align-items(center);
    input {
      width: 102px;
      margin: 0 24px 0 8px;
    }
    .layui-input-block {
      margin-left: 8px;
    }
  }
  .historyContent {
    overflow: auto;
  }
  .historyList {
    overflow: auto;
    .historyItem {
      height: 92px;
      @include padding-left(24px);
      &:hover {
        background: rgb(242,242,242);
      }
      .topInfo {
        height: 60px;
        @include align-items(center);
      }
      img{
        @include flex-shrink(0);
        margin-right: 8px;
        width: 30px;
        height: 30px;
        background: #33ab9f;
      }
      .ignoreMore {
        width: 30px;
        height: 30px;
        background-image: image-url('more-black.png');
        background-size: cover;
        @include flex-shrink(0);
      }
      .layui-badge {
        @include flex-shrink(0);
        width: 70px;
        height: 24px;
        line-height: 24px;
        color: rgb(102,102,102) !important;
        text-align: center;
        margin: 0 24px;
      }
      .layui-btn {
        @include flex-shrink(0);
        width: 62px;
        margin: 0 24px;
      }
      .bottomInfo {
        @include align-items(center);
      }
      .sendCount {
        margin: 0 24px;
      }
      .taskType {
        margin-left: 24px;
        @include justify-content(space-between);
      }
    }
  }
  .historyDetail {
    width: 360px;
    overflow: auto;
    border-left: 1px solid #ccc;
    @include flex-shrink(0);
    .detailTitle {
      margin: 12px 24px 8px 24px;
      font-size: 16px;
    }
    .sendContent {
      margin: 0 24px 8px 24px;
    }
    .editAgain {
      width: 72px;
      text-align: center;
      padding: 0;
      margin-right: 24px;
      @include align-self(flex-end);
    }
    .serviceAccounts {
      height: 36px;
      margin: 12px 24px 0 24px;
      font-size: 16px;
      @include justify-content(space-between);
      @include align-items(center);
    }
    .accounts {
      margin: 0 24px 0 24px;
      @include flex-wrap(wrap);
      .listItem {
        width: 156px;
        @include flex-shrink(0);
        &:hover {
          background: none !important;
        }
      }
    }
    .sendObjects {
      margin: 8px 24px 8px 24px;
      .subTitle {
        font-size: 16px;
        height: 24px;
        line-height: 24px;
      }
      .sendObjectTab {
        margin-top: 8px;
        @include justify-content(space-between);
        .objectTab {
          width: 76px;
          text-align: center;
          height: 24px;
          line-height: 24px;
          border: 1px solid #ccc;
          border-bottom: none;
          @include border-radius(4px);
          border-bottom-left-radius: 0;
          border-bottom-right-radius: 0;
          &.active {
            border-color: #33ab9f;
            background: #33ab9f;
            color: #fff;
          }
        }
      }
      .sendTabContent {
        border: 1px solid #ccc;
        .listItem:hover {
          background: none !important;
        }
      }
    }
  }
}
